FUNCTION
set.add_all_copy
function add_all_copy(values: collection<-T>): set<T>Returns a new set containing the elements of this set and the elements of a given collection.
a.add_all_copy(b) is equivalent to a + b, where a and b are sets.
Examples:
set([1]).add_all_copy(set([1]))returnsset([1])set([1, 2, 3]).add_all_copy(set([2, 3, 4]))returnsset([1, 2, 3, 4])
Parameters
- values — the other collection
Since
0.14.16
© 2026 Chromia